#ifndef AUDIOPLAYTHREAD_H
#define AUDIOPLAYTHREAD_H

#include <QObject>
#include <FFThread.h>
#include "FilePicker.h"

extern "C" {
    #include <SDL2/SDL.h>
}

struct AudioBuffer {
    int len = 0;
    int pullLen = 0;
    Uint8 *data = nullptr;
};

class AudioPlayThread : public FFThread
{
    Q_OBJECT

public:
    FileModel fileModel;

    void run();

signals:
};

#endif // AUDIOPLAYTHREAD_H
